package de.jonasjelten.jcalc.math;

/**
 *
 * @author Jonas Jelten
 */
public class JPreferences {
    // präferenzfelder:

    public static int nachkommastellen = 200; //TODO: warnung bei unendlichen brüchen/wurzeln/logarhythmen usw. -1 is unendlich
    public static int facultythreadcount = 4;
    public static int powthreadcount = 4;
    public static int allthreadmax = 10;
    public static int abwievielkürzen = 40;
    public static int aufwievielekürzen = 30;
    public static boolean cacheconstants = true; //Instanzen von JConstants cachen
    public static boolean cache = true; //JMathExpressions cachen?
    public static boolean usenothreadlimit = false;


    public JPreferences() {
        /*nachkommastellen = 200;
        facultythreadcount = 4;
        powthreadcount = 4;*/
    }

    //TODO: implement: save prefs, load prefs, change prefs incl communication with GUI-Tool
}
